import { Ab_DataBlocker_bA, Ab_DataTransfer_bA } from "../A-LIB/lib.b.data";

class Ab_Clock_bA {
	/** 登录时间 */
	Ab_login_time_bA: number;
	/** 当前时间 */
	Ab_current_time_bA: number;
}

const Ab_blocker_bA: Ab_DataBlocker_bA<Ab_Clock_bA> = {
	Ab_get_bA: {
		Ab_login_time_bA(proxy, value) {
			return value ?? Date.now();
		},
		Ab_current_time_bA(proxy, value) {
			return Date.now();
		},
	},
}

export default function Ab_get_proxy_clock_bA(name?: string, prefix?: string){
	return Ab_DataTransfer_bA.Ab_initProxy_bA(name??'Ab_user_bA', new Ab_Clock_bA(), true, Ab_blocker_bA, prefix??'');
}